package com.xiaoq.matrix.entity;

import java.io.Serializable;
import java.util.List;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Transient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoq.MongoEntity;
import com.xiaoq.matrix.vo.ElementSyncResultVo;

@Entity(value="content_element",noClassnameStored=true)
public class ContentElementEntity extends MongoEntity implements Serializable {
	
	@JsonIgnore
	@Transient
	private static final long serialVersionUID = -8471262542692575464L;
	
	private String name; //素材名称
	private String type; // 素材类型(image/vedio/voice/news)
	private String ext; // 文件扩展名
	private String url; //素材所在位置
	private List tags; // tags;
	private String memo; // 备注
	private String merchantId; // 商家Id
	private String userId; // 管理员Id
	private List mediaList; //同步媒体列
	private List<ElementSyncResultVo> syncStatusDetail; //同步状态详情
	private String syncStatus; // 媒体同步状态0--未同步/草稿，1--同步中，2--部分同步完成/有失败，3--同步完成
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getExt() {
		return ext;
	}
	public void setExt(String ext) {
		this.ext = ext;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public List getTags() {
		return tags;
	}
	public void setTags(List tags) {
		this.tags = tags;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public List getMediaList() {
		return mediaList;
	}
	public void setMediaList(List mediaList) {
		this.mediaList = mediaList;
	}
	public List<ElementSyncResultVo> getSyncStatusDetail() {
		return syncStatusDetail;
	}
	public void setSyncStatusDetail(List<ElementSyncResultVo> syncStatusDetail) {
		this.syncStatusDetail = syncStatusDetail;
	}
	public String getSyncStatus() {
		return syncStatus;
	}
	public void setSyncStatus(String syncStatus) {
		this.syncStatus = syncStatus;
	}
	
	

}
